﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdventureWorks.Business
{
	public interface IBusiness<T>
	{
		IEnumerable<T> GetList(String sortOrder, String searchString);
		T Get(int id);
		void Insert(T entity);
		void Update(T entity);
		void ThrowInvalidException();
		void Delete(int id);
		void Save();
	}
}
